package com.ibm.wd150.passengers;

import com.ibm.wd150.ticketing.Discountable;

public class StaffPassenger extends Passenger implements Discountable {

	private String employeeId;

	public String getEmployeeId() {
		return employeeId;
	}

	@Override
	public double discountPrice(double price) {
		return price / 2.0;
	}

	public StaffPassenger(PassengerName pName, String employeeId) {
		super(pName);
		this.employeeId = employeeId;
	}
}
